﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YunSpace.Domain.ViewModel.OrderFlowManage
{
    public class ReportModel
    {
        /// <summary>
        /// 类型名称
        /// </summary>
        public string F_ItemName { get; set; }
        
        public string F_SortCode { get; set; }
        /// <summary>
        /// 目录名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 需求总数
        /// </summary>
        public int ALLDemand { get; set; }
        /// <summary>
        /// 需求来源数量
        /// </summary>
        public int DemandSource { get; set; }
        /// <summary>
        /// 成功推荐数量
        /// </summary>
        public int DemandRecommend { get; set; }
        /// <summary>
        /// 成功带看数量
        /// </summary>
        public int DemandTakelook { get; set; }
        /// <summary>
        /// 成功签约数量
        /// </summary>
        public int DemandBookRecord { get; set; }
        /// <summary>
        /// 签约金额
        /// </summary>
        public decimal BookRecordMoney { get; set; }
        /// <summary>
        /// 需求价位范围
        /// </summary>
        public string DemandCahs { get; set; }
        /// <summary>
        /// 行业范围
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 场地类型范围
        /// </summary>
        public string SiteTypeName { get; set; }
        /// <summary>
        /// 活动类型范围
        /// </summary>
        public string ActivityName { get; set; }
        /// <summary>
        /// 关闭理由范围
        /// </summary>
        public string CloseReason { get; set; }
       
    }

    public class ReportUserModel
    {
        /// <summary>
        /// 销售名称
        /// </summary>
        public string F_RealName { get; set; }

        public Guid F_Id { get; set; }

        /// <summary>
        /// 销售指标
        /// </summary>
        public decimal IndicatorValue { get; set; }

        /// <summary>
        /// 利润指标
        /// </summary>
        public decimal ProfitValue { get; set; }

        /// <summary>
        /// 业绩额
        /// </summary>
        public decimal OrderIncomeCount { get; set; }

        /// <summary>
        /// 业绩完成率
        /// </summary>
        public string IndicatorPercent { get; set; }

        /// <summary>
        /// 业绩差额
        /// </summary>
        public decimal IndicatorDifference { get; set; }

        /// <summary>
        /// 税后利润
        /// </summary>
        public decimal ProfitIndicator { get; set; }

        /// <summary>
        /// 总需求数
        /// </summary>
        public int ALLNum { get; set; }

        /// <summary>
        /// 成交数
        /// </summary>
        public int FinishNum { get; set; }

        /// <summary>
        /// 关闭数
        /// </summary>
        public int CloseNum { get; set; }

        /// <summary>
        /// 储备数
        /// </summary>
        public int OtherNum { get; set; }

        /// <summary>
        /// 需求额
        /// </summary>
        public decimal DemandCash { get; set; }

        /// <summary>
        /// 成交额
        /// </summary>
        public decimal FinishCash { get; set; }

        /// <summary>
        /// 扔单数
        /// </summary>
        public int OldOrderNum { get; set; }
    }
}
